import 'dart:ui';

import 'package:jm_flutter/jm_flutter.dart';

class JmConfig {
  ///google play版本
  static bool googlePlay = false;//google play版本

  ///调试模式
  static bool debug = true;//调试模式

  ///log等级
  static LogLevel logLevel = LogLevel.DEBUG;//log等级

  ///是否打开i18n
  static bool i18nEnable = true;//是否打开i18n

  ///默认语言
  static String i18nFallbackFile = "en";//默认语言

  ///i18n文件目录
  static String i18nBasePath = 'assets/i18n';//i18n文件目录

  ///App名称
  static String appName = "JmApp";//App名称

  ///颜色
  static JmColorsData colors = JmColorsData();//颜色

  static StatusBarType statusBarType = StatusBarType.black;//状态栏样式


  static JmAssetsData assets = JmAssetsData();//资源

  ///资源
  //static String? fontFamily;

  ///字体大小
  //static double fontSize = 17;

  ///appBar字体大小
  //static double appBarFontSize = 20;

  static JmTextStyle defTextStyle = JmTextStyle(
    fontSize: 17,
    color: defaultTextColor,
    fontWeight: FontWeight.normal,
  );//默认字体样式
  static JmTextStyle sbuTextStyle = JmTextStyle(
    fontSize: 17,
    color: defaultTextSubColor,
    fontWeight: FontWeight.normal,
  );//默认字体样式

  static JmTextStyle appBarTextStyle = JmTextStyle(
    fontSize: 20,
    color: defaultAppBarTextColor,
    fontWeight: FontWeight.normal,
  );//appBar字体样式

  static JmTextStyle toastTextStyle = JmTextStyle(
    fontSize: 17,
    color: defaultToastTextColor,
    fontWeight: FontWeight.normal,
  );//appBar字体样式

  ///app目录
  static String? appDocPath;//文档目录
  static String? appTempPath;//临时目录


  static double mobileMaxWith = 600;//手机最大宽度
}
